package com.syni.mdd.sjb.community.base.controller.protect;

import com.alibaba.fastjson.JSONObject;
import com.syni.mdd.sjb.common.component.utils.common.utils.ResultMapHelper;
import com.syni.mdd.sjb.community.base.entity.vo.rq.SetSessionInfoRqVo;
import com.syni.mdd.sjb.community.base.utils.OAUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController()
@RequestMapping("externalcontact")
public class ContactController {
//    JSONObject jsonObject = OAUtils.getAccessToken();

    //获取配置了客户联系功能的成员列表
    @PostMapping("getFollowUserList")
    public Object getFollowUserList(){

        return ResultMapHelper.success(OAUtils.getAccessToken());
    }
}
